package com.asiainfo.iam.entity.dto;
import com.asiainfo.iam.entity.vo.Organization;
import com.asiainfo.iam.entity.vo.Role;
import com.asiainfo.iam.entity.vo.User;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "增量数据同步请求")
public class IncrementalSyncRequest {
    /** 新增组织数据 */
    @Schema(description = "组织新增", required = true)
    private List<Organization> newOrganizations;

    /** 新增角色数据 */
    @Schema(description = "角色新增", required = true)
    private List<Role> newRoles;

    /** 新增用户数据 */
    @Schema(description = "用户新增", required = true)
    private List<User> newUsers;

    /** 修改组织数据 */
    @Schema(description = "组织修改", required = true)
    private List<Organization> updateOrganizations;

    /** 修改角色数据 */
    @Schema(description = "角色修改", required = true)
    private List<Role> updateRoles;

    /** 修改用户数据 */
    @Schema(description = "用户修改", required = true)
    private List<User> updateUsers;

    /** 删除组织数据 */
    @Schema(description = "组织删除", required = true)
    private List<Organization> deleteOrganizations;

    /** 删除角色数据 */
    @Schema(description = "角色删除", required = true)
    private List<Role> deleteRoles;

    /** 删除用户数据 */
    @Schema(description = "用户删除", required = true)
    private List<User> deleteUsers;
}